package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 查询渠道详情请求对象
 * @date 2020-07-02 14:50
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询渠道详情请求对象", description = "查询渠道详情请求对象")
public class QueryChannelReq extends BaseReqObj {

    private static final long serialVersionUID = 9159452446047808699L;

    /**
     * id
     */
    @ApiModelProperty(value = "渠道代码", notes = "渠道代码", dataType = "String", required = true)
    @NotNull(message = "渠道代码不能为空")
    private String channelCode;

}
